package com.tanhua.api.mongo;

import com.tanhua.domain.mongo.FollowUser;
import com.tanhua.domain.mongo.Video;
import com.tanhua.domain.vo.PageBeanVo;

public interface VideoApi {

    // 分页查询
    PageBeanVo findByPage(Integer pageNum, Integer pageSize);
    // 保存小视频
    void save(Video video);
    // 关注
    void saveFollowUser(FollowUser followUser);

    // 取消关注
    void removeFollowUser(Long userId, Long followUserId);
}